
struct node {
	char* name;
	int type; // 1 for ID, 0 for nb, 2 for symbol
	int sequence;	
	struct node* child[10];
	struct node* parent[10];
};

void initnode(struct node* n, char* c, int t, int nb);
void addnode(struct node* p, struct node* children[10], struct node* n);
void print(struct node* n, int nodeNb);

